Skip to content

Add ability to pass in custom Java Options #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Sufyaan-Kazi
Copy link

Added ability to pass in custom Java options, e.g. for activating different Spring Boot Profiles. This allows an app e.g. to run in detached mode on a laptop standalone not on Openshift or Minishift - yet alternatively run on Openshift too for example to read env vars for accessing db credentials.

example project: https://github.com/Sufyaan-Kazi/spring-boot-cities-service/tree/openshift

@Sufyaan-Kazi
Copy link
Author

Hi, I've added the ability to supply custom jvm options to allow different spring boot profiles ot be selected, which means the app can be run within openshift or standlaone, yet still function. e.g. -Dspring.profiles.active=local or -Dspring.profiles.active=oshift

@tiagomtotti
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants